<#include "/common/_layout.html"/> <@layout>
<h1>
	文章管理&nbsp;&nbsp; <a href="/core/blog/add">创建Blog</a>
</h1>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="35%">标题</th>
				<th width="12%">操作</th>
			</tr>

			<#list blogPage.getList() as x>
			<tr>
				<td style="text-align: left;">${x.id}</td>
				<td style="text-align: left;">${(x.title)!""}</td>
				<td style="text-align: left;">&nbsp;&nbsp;<a
					href="/core/blog/delete/${x.id}">删除</a> &nbsp;&nbsp;<a
					href="/core/blog/edit/${x.id}">修改</a>
				</td>
			</tr>
			</#list>
		</tbody>
	</table>
	<#include "/common/_paginate.html" /> <@paginate
	currentPage=blogPage.pageNumber totalPage=blogPage.totalPage
	actionUrl="/core/blog/" />
</div>
</@layout>
